<div>
<app-form [form]="data"  class="app-formctrl">
        <ng-template let-form>
        <div [hidden]="$activeFormPage !== 'formpage1'"  class="app-form-page">
     <ion-item-group [hidden]="!detailsModel.group1?.visible" class="app-form-group">
                        <app-form-item [field]="detailsModel.ycrq">
    <ng-template let-ycrq>
        <ion-item lines="none" [hidden]="!ycrq?.visible" class="app-form-item left" style=''>
            <label style="width: 130px;" class="app-form-item-label left" slot="start">
                 用车日期
               <span class="stars" *ngIf="!ycrq.isAllowEmpty">*</span>
            </label>
            <div class="app-form-item-editor" style="width:100%;" slot="end">
                <app-datetime class="app-form-item-datetime" [disabled]="ycrq.disabled" datefmt="YYYY-MM-DD HH:mm:ss" [(ngModel)]="form.ycrq"></app-datetime>
            </div>
        </ion-item>
    </ng-template>
</app-form-item>

                        <app-form-item [field]="detailsModel.ycrs">
    <ng-template let-ycrs>
        <ion-item lines="none" [hidden]="!ycrs?.visible" class="app-form-item left" style=''>
            <label style="width: 130px;" class="app-form-item-label left" slot="start">
                 用车人数
               <span class="stars" *ngIf="!ycrs.isAllowEmpty">*</span>
            </label>
            <div class="app-form-item-editor" style="width:100%;" slot="end">
                <ion-input class="app-form-item-input" [value]="form.ycrs" (ionInput)="form.ycrs=$event.target.value"  [disabled]="ycrs.disabled" ></ion-input>
            </div>
        </ion-item>
    </ng-template>
</app-form-item>

                        <app-form-item [field]="detailsModel.mdd">
    <ng-template let-mdd>
        <ion-item lines="none" [hidden]="!mdd?.visible" class="app-form-item left" style=''>
            <label style="width: 130px;" class="app-form-item-label left" slot="start">
                 目的地
               <span class="stars" *ngIf="!mdd.isAllowEmpty">*</span>
            </label>
            <div class="app-form-item-editor" style="width:100%;" slot="end">
                <ion-input class="app-form-item-input" [value]="form.mdd" (ionInput)="form.mdd=$event.target.value"  [disabled]="mdd.disabled" ></ion-input>
            </div>
        </ion-item>
    </ng-template>
</app-form-item>

                        <ion-item-group [hidden]="!detailsModel.grouppanel1?.visible" class="app-form-group">
                        <app-form-item [field]="detailsModel.sfxysj">
    <ng-template let-sfxysj>
        <ion-item lines="none" [hidden]="!sfxysj?.visible" class="app-form-item left" style=''>
            <label style="width: 130px;" class="app-form-item-label left" slot="start">
                 是否需要司机
               <span class="stars" *ngIf="!sfxysj.isAllowEmpty">*</span>
            </label>
            <div class="app-form-item-editor" style="width:100%;" slot="end">
                <app-toggle [disabled]="sfxysj.disabled" [(ngModel)]="form.sfxysj"></app-toggle>
            </div>
        </ion-item>
    </ng-template>
</app-form-item>

                </ion-item-group>

                        <ion-item-group [hidden]="!detailsModel.grouppanel2?.visible" class="app-form-group">
                        <app-form-item [field]="detailsModel.ycsm">
    <ng-template let-ycsm>
        <ion-item lines="none" [hidden]="!ycsm?.visible" class="app-form-item left" style=''>
            <label style="width: 130px;" class="app-form-item-label left" slot="start">
                 用车说明
               <span class="stars" *ngIf="!ycsm.isAllowEmpty">*</span>
            </label>
            <div class="app-form-item-editor" style="width:100%;" slot="end">
                <app-textarea labelText="用车说明" [allowEmpty]="ycsm.isAllowEmpty" class="app-form-item-textarea" [(value)]="form.ycsm" [disabled]="ycsm.disabled"  position="LEFT"></app-textarea>
            </div>
        </ion-item>
    </ng-template>
</app-form-item>

                </ion-item-group>

                </ion-item-group>

     
</div>

        </ng-template>
    </app-form>
<div>
